﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;



namespace EWDTAssignment.App_Code
{
    public class EditProfile
    {
        public int AccountID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Gender { get; set; }
        public DateTime DOB { get; set; }
        public int ContactNum { get; set; }
        public string Address { get; set; }
        public int PostalCode { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
        public string Question { get; set; }
        public string Answer { get; set; }

        public EditProfile(int accountId, string fn, string ln, string gen, DateTime dob, int contact, string add, int pos, string email)
        {
            this.AccountID = accountId;
            this.FirstName = fn;
            this.LastName = ln;
            this.Gender = gen;
            this.DOB = dob;
            this.ContactNum = contact;
            this.Address = add;
            this.PostalCode = pos;
            this.Email = email;


        }

        public EditProfile(string password, int accountID)
        {
            this.Password = password;
            this.AccountID = accountID;


        }
        public EditProfile(string qns, string ans, int accountID)
        {
            this.Question = qns;
            this.Answer = ans;
            this.AccountID = accountID;
        }
    }
}